package com.ruoyi.project.management.delay.service;

import com.ruoyi.project.management.delay.domain.Task;
import com.ruoyi.project.management.delay.mapper.ManagementTaskMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class ManagementTaskServiceImpl implements ManagementTaskService {

    @Autowired
    private ManagementTaskMapper managementTaskMapper;

    @Override
    public List<Task> selectmore() {
        return managementTaskMapper.selectmore();
    }

    @Override
    public List<Task> selectmore2() {
        return managementTaskMapper.selectmore2();
    }


    @Override
    public List<Task> selectById(Integer id) {
        return managementTaskMapper.selectById(id);
    }

    /*@Override
    public int updateByEndTime(Date endtime, Integer task_id) {
        return managementTaskMapper.updateByEndTime(endtime,task_id);
    }

    @Override
    public int updateByExecutor(Integer executor, Integer task_id) {
        return managementTaskMapper.updateByExecutor(executor,task_id);
    }*/
}
